<?php

    function getresult($city) {
           $query = "SELECT count(answer) FROM info WHERE answer='$city'";
           return $query;
    }

    function getcities() {
           $query = "SELECT distinct(answer) FROM info";
           return $query;
    }
    
?>


